<%
=begin
apps: mongodb-sharded
platforms: kubernetes, tanzu-application-catalog
id: initialize_instance
title: Initialize a fresh instance
category: administration
weight: 20
=end %>

The [<%= variable :catalog_name, :platform %> MongoDB image](https://github.com/bitnami/bitnami-docker-mongodb-sharded) allows you to use your custom scripts to initialize a fresh instance. You can create a custom config map and give it via initScriptsCM.

The allowed extensions are *.sh*, and *.js*.
